package com.example.simplerpc.common.protocol;

import lombok.Getter;

@Getter
public enum RpcStatus {
    SUCCESS(200,"SUCCESS"),
    ERROR(500,"ERROR"),
    NOT_FOUND(404,"NOT FOUND");
    public int code;
    public String message;
    RpcStatus(int code, String message){
        this.code = code;
        this.message = message;
    }
}
